package cn.b.sky.flowable.dao;

import cn.b.sky.flowable.model.FlowNodeUser;

import java.util.List;

public interface FlowNodeUserDao {

  FlowNodeUser selectFlowNodeUserByCondition(FlowNodeUser flowNodeUser);

  List<FlowNodeUser> selectFlowNodeUserByFlowNodeId(Long flowNodeId);

  List<FlowNodeUser> selectFlowNodeUserByDeployNodeId(Long deployMentNodeId);

  void insertFlowNodeUser(FlowNodeUser flowNodeUser);

  void deleteFlowNodeUserById(Long id);

  void deleteFlowNodeUserByProcessInstanceNodeId(Long id);

  void updateFlowNodeUser(FlowNodeUser flowNodeUser);

}
